<template>
  <van-grid :column-num="3">
			<van-grid-item v-for='item in list' :key='item.id'>
				<van-image @click='$router.push(`/show?id=${item.id}`)' :src="'http://124.223.14.236:8060/'+item.pic" />
				<p>{{item.title}}</p>
			</van-grid-item>
		</van-grid>
</template>

<script>
import { indexHot } from "@/api/user"
export default {
data() {
    return {
			list:[]
    }
  },
 async created () {
    const res=await indexHot()
		// console.log(res.data.data.list)
		this.list=res.data.data.list
    
  }
}
</script>

<style scoped>


</style>